package main

import (
	"go.uber.org/zap"
	"liuche17.cn/go-blog/server/core"
	"liuche17.cn/go-blog/server/global"
)

func main() {
	global.GB_VP = core.Viper() // 初始化Viper
	global.GB_LOG = core.Zap()  // 初始化zap日志库
	zap.ReplaceGlobals(global.GB_LOG)
	// 启动服务
	core.RunServer()
}
